package com.ydj.app.protocol.http.cms;

import com.ydj.framework.mysql.PageArgs;
import com.ydj.framework.protocol.JsonPageResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
public class CmsKolListRes extends JsonPageResponse<CmsKolListRes.CmsKolListResItem> {

    public CmsKolListRes(PageArgs pageArgs) {
        super(pageArgs);
    }

    @Getter
    @Setter
    @Accessors(chain = true)
    public static class CmsKolListResItem {
        @ApiModelProperty(value = "ID", required = true)
        private Long id;

        @ApiModelProperty(value = "名称", required = true)
        private String name;

        @ApiModelProperty(value = "加入时间", required = true)
        private Date joinTime;

        @ApiModelProperty(value = "链接的账号", required = true)
        private String account;

        @ApiModelProperty(value = "邀请的链接", required = true)
        private String inviteUrl;

        @ApiModelProperty(value = "总邀请人数", required = true)
        private Integer totalInviteCount;

        @ApiModelProperty(value = "已结算人数", required = true)
        private Integer totalSettledCount;

        @ApiModelProperty(value = "未结算人数", required = true)
        private Integer totalUnsettledCount;

        @ApiModelProperty(value = "未结算金额", required = true)
        private Integer totalUnsettledPrice;
    }

}